package com.pan.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Goods implements Serializable {
    Long id;
    Long categoryId;
    String name;
    String unit;
    String title;
    String img;
    Double price;
    String detail;
    Timestamp createDate;
    Timestamp updateDate;
    Integer goodsStatus;
    Long saleCount;
}